WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway A

Total Complexity 74
Dependencies 24
Dependents 31
Total lines 634
Lines of code 317
Logical lines of code 149
Comment lines 199
Methods 16
Properties 16

Methods 16

Method Rating Maintainability Complexity Lines of code
process_payment()
C
30 22 118
__construct()
A
38 14 72
define_method_title()
S
57 6 18
define_method_description()
S
53 5 29
init_form_fields()
S
55 4 19
get_title()
S
62 4 12
is_pui_tab()
S
70 3 6
is_paypal_tab()
S
73 3 5
is_credit_card_tab()
S
76 2 4
is_connection_tab()
S
76 2 4
is_pay_later_tab()
S
76 2 4
process_refund()
S
67 2 7
update_option()
S
65 2 9
needs_setup()
S
81 1 3
get_transaction_url()
S
75 1 4
settings_renderer()
S
82 1 3